package org.rcy.framework.api.storage;

import java.io.IOException;
import java.io.InputStream;

/**
 * @author 吴康桥
 * @Description
 * @date 2023/7/4 11:04
 */

public interface StorageStrategy {
	String uploadFile(InputStream is,long size);
	boolean uploadPublicFile(InputStream is,String fileKey,long size);
	InputStream downloadFile(String fileKey) throws IOException;
	InputStream downloadFile(String fileKey,String secret) throws IOException;
}
